/**
 * Created with IntelliJ IDEA.
 * User: thoughtworker
 * Date: 10/10/13
 * Time: 1:57 PM
 * To change this template use File | Settings | File Templates.
 */
public class Player {
    private String name;
    private int number;
    private int age;
    private String team;

    public Player(String name, String team, int number, int age){
        this.name = name;
        this.team = team;
        this.number = number;
        this.age = age;
    }

    public String getPlayerInfo(){
        return name+", "+team+", "+number+", "+age;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getTeam() {
        return team;
    }

    public void setTeam(String team) {
        this.team = team;
    }
}
